export const getSupplierAccountParams = (data) => {
  let params = {};
  const needKeys = ['id', 'mobilePhone', 'supplierClassify', 'supplierCode', 'supplierId', 'supplierName'];
  /* const userInfo = JSON.parse(localStorage.getItem('userInfo'));
  if (!userInfo) { return false; }
  const { userName, userId } = userInfo; */
  needKeys.forEach(key => { params[key] = data[key] });
  return {
    ...params,
    /* createUser: userName,
    createUserId: userId, */
  }
}
